package com.swt.gap.dao;

import com.swt.gap.model.entity.SysGroup;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SysGroupDao {
    int deleteByPrimaryKey(Integer groupId);

    int insertSelective(SysGroup record);

    SysGroup selectByPrimaryKey(Integer groupId);

    int updateByPrimaryKeySelective(SysGroup record);

    List<SysGroup> selectAll();

    List<SysGroup> selectByUserId(Integer userId);
}